<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

    <header>
        <section>
            <form action="javascript:;" id="form">
                <label for="title">ToDoList</label>
                <input type="text" id="title" name="title" placeholder="添加ToDo"/>
            </form>
        </section>
    </header>
    <section>
        <h2>正在进行 <span id="todocount"></span></h2>
        <ol id="todolist" class="demo-box">

        </ol>
        <h2>已经完成 <span id="donecount"></span></h2>
        <ul id="donelist">

        </ul>
    </section>
    <footer>
        路飞学城todolist.cn <a href="javascript:;">clear</a>
    </footer>
    <script src="./jquery-3.4.1.js"></script>
    <script type="text/javascript" src="./js/index.js"></script>
<script src="jquery-3.6.0.js"></script>
<script>
$.ajax({
  url:'https://devapi.qweather.com/v7/weather/now?location=101010100&key=ad35f3a15a34485e957761d3b6457b88',
  method:'get',
  success:function (res) {
    var now = res.now
    console.log(now.text);
  }
})

</script>
</body>
</html>